package com.linkgie.galaxyframework.security.metadata;

import javax.validation.constraints.NotBlank;

import com.linkgie.galaxyframework.metadata.DataEntity;
import com.linkgie.galaxyframework.metadata.DataField;
import com.linkgie.galaxyframework.metadata.DataInterface;
import com.linkgie.galaxyframework.metadata.DataKey;
import com.linkgie.galaxyframework.metadata.DataType;

@DataInterface
@DataEntity
public class UsernamePasswordAuthenticationVO {
	
	@DataKey
	@DataField(name = "用户名", order = 0)
	private String username;
	
	@NotBlank
	@DataType(contentType = "password")
	@DataField(name = "密码", order = 1)
	private String password;


	public String getUsername() {
		return username;
	}


	public void setUsername(String username) {
		this.username = username;
	}


	public String getPassword() {
		return password;
	}


	public void setPassword(String password) {
		this.password = password;
	}
	
}
